//
//  RBDateRangePickerVC.h
//  RBDemoProj
//
//  Created by Lan on 2019/1/3.
//  Copyright © 2019年 SummerTea. All rights reserved.
//  系统日期范围选择器

#import "RBPopVC.h"

@interface RBDateRangePickerVC : RBPopVC

/** show之后datePicker才加载出来 */
@property(nonatomic, strong)IBOutlet UIDatePicker *fromDatePicker;
@property(nonatomic, strong)IBOutlet UIDatePicker *toDatePicker;
- (void)showWithMaxFromDate: (NSDate *)maxFromDate
                minFromDate: (NSDate *)minFromDate
            currentFromDate: (NSDate *)currentFromDate
                  maxToDate: (NSDate *)maxToDate
                  minToDate: (NSDate *)minToDate
              currentToDate: (NSDate *)currentToDate
                     fromVc: (UIViewController *)fromVc
             datePickerMode: (UIDatePickerMode)mode
                 completion: (void(^)(NSDate *fromDate, NSDate *toDate))block;

@end
